package uk.ac.strath.cis.metric_spaces.framework;

import java.io.Reader;

/**
 * @author Robert
 *
 * @param <E>
 */
public interface Parser<E> {

    /**
     * @param r
     * @return
     * @throws Exception
     */
    E parse(Reader r) throws Exception;

}
